package com.chao.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.chao.entity.Course;
import com.chao.mapper.CourseMapper;
import com.chao.service.CourseService;
import org.springframework.stereotype.Service;

@Service
public class CourseServiceImpl extends ServiceImpl<CourseMapper, Course> implements CourseService {

    @Override
    public int addOfPrimary(Course course) {
        return getBaseMapper().addOfPrimary(course);
    }
}
